package com.yljk.imdoctor.entity;

import java.util.List;

public class ConversationBean{


    /**
     * code : 200
     * result : true
     * msg : null
     * data : [{"chargesListId":16846,"inquiringPatientId":848,"chargesListStatus":3,"patientId":152688606445569,"name":"小小小小鸟","gender":"女","age":28,"patientImAccount":"user_hospital_152688606445569","updateTime":"2021-12-23 01:30:02","imTeamId":null,"workId":null,"workName":null,"createTime":"2021-12-22 14:44:46","lastSendTime":1640194202369,"imRecordHbaseDTO":{"contentsType":"custom","imTeamId":null,"chargesListId":16846,"fromAccountId":"doctor_462","fromUserId":"462","toAccountId":"user_hospital_152688606445569","toUserId":"152688606445569","doctorId":462,"patientId":152688606445569,"inquiringPatientId":848,"convType":0,"msgType":100,"content":null,"msgTimeStamp":1640194202369,"msgIdClient":"yljk-demo#yilijk-t1_956186002265738644","msgIdServer":"956186002265738644","createTime":1640194202401,"sourceFileUrl":null,"sourceFileExt":null,"ext":"{\"inquiringPatientId\":848,\"chargesListId\":16846,\"patientId\":152688606445569,\"doctorId\":462,\"extType\":\"charges\"}","attach":"{\"customExts\":[{\"status\":\"3\"},{\"endTime\":\"1640194202000\"},{\"content\":\"您好，请您对我的问诊服务做出评价\"},{\"chargesListId\":\"16846\"}],\"customEvent\":\"to_evaluate\",\"type\":\"custom\"}","fileUrl":null,"customEvent":"to_evaluate","customExt":"[{\"status\":\"3\"},{\"endTime\":\"1640194202000\"},{\"content\":\"您好，请您对我的问诊服务做出评价\"},{\"chargesListId\":\"16846\"}]","fileName":null,"del":false}},{"chargesListId":16731,"inquiringPatientId":950,"chargesListStatus":3,"patientId":159174531350529,"name":"王贵平","gender":"男","age":31,"patientImAccount":"user_hospital_159174531350529","updateTime":"2021-12-20 21:04:58","imTeamId":null,"workId":null,"workName":null,"createTime":"2021-12-16 18:01:13","lastSendTime":1640005498611,"imRecordHbaseDTO":{"contentsType":"custom","imTeamId":null,"chargesListId":16731,"fromAccountId":"doctor_462","fromUserId":"","toAccountId":"user_hospital_159174531350529","toUserId":"159174531350529","doctorId":462,"patientId":159174531350529,"inquiringPatientId":950,"convType":0,"msgType":100,"content":null,"msgTimeStamp":1640005498611,"msgIdClient":"yljk-demo#yilijk-t1_955375525767941524","msgIdServer":"955375525767941524","createTime":1640005498654,"sourceFileUrl":null,"sourceFileExt":null,"ext":"{\"inquiringPatientId\":950,\"chargesListId\":16731,\"patientId\":159174531350529,\"extType\":\"charges\"}","attach":"{\"customExts\":[{\"status\":\"3\"},{\"endTime\":\"1639762202000\"},{\"content\":\"感谢您对我服务提出建议和评价。\"},{\"chargesListId\":\"16731\"}],\"customEvent\":\"doctor_evaluate_thanks\",\"type\":\"custom\"}","fileUrl":null,"customEvent":"doctor_evaluate_thanks","customExt":"[{\"status\":\"3\"},{\"endTime\":\"1639762202000\"},{\"content\":\"感谢您对我服务提出建议和评价。\"},{\"chargesListId\":\"16731\"}]","fileName":null,"del":false}},{"chargesListId":16736,"inquiringPatientId":1993,"chargesListStatus":3,"patientId":144843022270465,"name":"李洪","gender":"男","age":36,"patientImAccount":"user_hospital_144843022270465","updateTime":"2021-12-18 01:30:02","imTeamId":null,"workId":null,"workName":null,"createTime":"2021-12-16 20:26:32","lastSendTime":1639762202105,"imRecordHbaseDTO":{"contentsType":"custom","imTeamId":null,"chargesListId":16736,"fromAccountId":"doctor_462","fromUserId":"462","toAccountId":"user_hospital_144843022270465","toUserId":"144843022270465","doctorId":462,"patientId":144843022270465,"inquiringPatientId":1993,"convType":0,"msgType":100,"content":null,"msgTimeStamp":1639762202105,"msgIdClient":"yljk-demo#yilijk-t1_954330575282376084","msgIdServer":"954330575282376084","createTime":1639762202134,"sourceFileUrl":null,"sourceFileExt":null,"ext":"{\"inquiringPatientId\":1993,\"chargesListId\":16736,\"patientId\":144843022270465,\"doctorId\":462,\"extType\":\"charges\"}","attach":"{\"customExts\":[{\"status\":\"3\"},{\"endTime\":\"1639762202000\"},{\"content\":\"您好，请您对我的问诊服务做出评价\"},{\"chargesListId\":\"16736\"}],\"customEvent\":\"to_evaluate\",\"type\":\"custom\"}","fileUrl":null,"customEvent":"to_evaluate","customExt":"[{\"status\":\"3\"},{\"endTime\":\"1639762202000\"},{\"content\":\"您好，请您对我的问诊服务做出评价\"},{\"chargesListId\":\"16736\"}]","fileName":null,"del":false}},{"chargesListId":11529,"inquiringPatientId":99,"chargesListStatus":3,"patientId":131268163469313,"name":"黄俊章","gender":"男","age":25,"patientImAccount":"user_hospital_131268163469313","updateTime":"2021-08-05 22:30:54","imTeamId":null,"workId":null,"workName":null,"createTime":"2021-08-05 22:14:17","lastSendTime":1628173854736,"imRecordHbaseDTO":{"contentsType":"custom","imTeamId":null,"chargesListId":11529,"fromAccountId":"doctor_462","fromUserId":"462","toAccountId":"user_hospital_131268163469313","toUserId":"131268163469313","doctorId":462,"patientId":131268163469313,"inquiringPatientId":99,"convType":0,"msgType":100,"content":null,"msgTimeStamp":1628173854736,"msgIdClient":"yljk-demo#yilijk-t1_904559002254314900","msgIdServer":"904559002254314900","createTime":1628173854754,"sourceFileUrl":null,"sourceFileExt":null,"ext":"{\"inquiringPatientId\":99,\"chargesListId\":11529,\"patientId\":131268163469313,\"doctorId\":462,\"extType\":\"charges\"}","attach":"{\"customExts\":[{\"status\":\"3\"},{\"endTime\":\"1628173855000\"},{\"content\":\"您好，请您对我的问诊服务做出评价\"},{\"chargesListId\":\"11529\"}],\"customEvent\":\"to_evaluate\",\"type\":\"custom\"}","fileUrl":null,"customEvent":"to_evaluate","customExt":"[{\"status\":\"3\"},{\"endTime\":\"1628173855000\"},{\"content\":\"您好，请您对我的问诊服务做出评价\"},{\"chargesListId\":\"11529\"}]","fileName":null,"del":false}},{"chargesListId":11504,"inquiringPatientId":1223,"chargesListStatus":8,"patientId":144801456717825,"name":"刘全","gender":"男","age":51,"patientImAccount":"user_hospital_144801456717825","updateTime":"2021-08-05 17:56:43","imTeamId":null,"workId":null,"workName":null,"createTime":"2021-08-05 17:47:42","lastSendTime":1628153509129,"imRecordHbaseDTO":null},{"chargesListId":8333,"inquiringPatientId":941,"chargesListStatus":3,"patientId":117275227127809,"name":"李忠南","gender":"男","age":30,"patientImAccount":"user_hospital_117275227127809","updateTime":"2021-07-30 15:31:46","imTeamId":null,"workId":null,"workName":null,"createTime":"2021-06-16 16:58:49","lastSendTime":1627630306028,"imRecordHbaseDTO":{"contentsType":"custom","imTeamId":null,"chargesListId":8333,"fromAccountId":"doctor_462","fromUserId":"","toAccountId":"user_hospital_117275227127809","toUserId":"117275227127809","doctorId":462,"patientId":117275227127809,"inquiringPatientId":941,"convType":0,"msgType":100,"content":null,"msgTimeStamp":1627630306028,"msgIdClient":"yljk-demo#yilijk-t1_902224478405135764","msgIdServer":"902224478405135764","createTime":1627630306047,"sourceFileUrl":null,"sourceFileExt":null,"ext":"{\"inquiringPatientId\":941,\"chargesListId\":8333,\"patientId\":117275227127809,\"extType\":\"charges\"}","attach":"{\"customExts\":[{\"status\":\"3\"},{\"endTime\":\"1623844778000\"},{\"content\":\"感谢您对我服务提出建议和评价。\"},{\"chargesListId\":\"8333\"}],\"customEvent\":\"doctor_evaluate_thanks\",\"type\":\"custom\"}","fileUrl":null,"customEvent":"doctor_evaluate_thanks","customExt":"[{\"status\":\"3\"},{\"endTime\":\"1623844778000\"},{\"content\":\"感谢您对我服务提出建议和评价。\"},{\"chargesListId\":\"8333\"}]","fileName":null,"del":false}},{"chargesListId":10659,"inquiringPatientId":1336,"chargesListStatus":3,"patientId":164043424595969,"name":"从冰","gender":"男","age":21,"patientImAccount":"user_hospital_164043424595969","updateTime":"2021-07-22 20:06:50","imTeamId":null,"workId":null,"workName":null,"createTime":"2021-07-22 17:06:42","lastSendTime":1626955610429,"imRecordHbaseDTO":{"contentsType":"custom","imTeamId":null,"chargesListId":10659,"fromAccountId":"doctor_462","fromUserId":"462","toAccountId":"user_hospital_164043424595969","toUserId":"164043424595969","doctorId":462,"patientId":164043424595969,"inquiringPatientId":1336,"convType":0,"msgType":100,"content":null,"msgTimeStamp":1626955610429,"msgIdClient":"yljk-demo#yilijk-t1_899326682832309652","msgIdServer":"899326682832309652","createTime":1626955610447,"sourceFileUrl":null,"sourceFileExt":null,"ext":"{\"inquiringPatientId\":1336,\"chargesListId\":10659,\"patientId\":164043424595969,\"doctorId\":462,\"extType\":\"charges\"}","attach":"{\"customExts\":[{\"status\":\"3\"},{\"endTime\":\"1626955610000\"},{\"content\":\"您好，请您对我的问诊服务做出评价\"},{\"chargesListId\":\"10659\"}],\"customEvent\":\"to_evaluate\",\"type\":\"custom\"}","fileUrl":null,"customEvent":"to_evaluate","customExt":"[{\"status\":\"3\"},{\"endTime\":\"1626955610000\"},{\"content\":\"您好，请您对我的问诊服务做出评价\"},{\"chargesListId\":\"10659\"}]","fileName":null,"del":false}},{"chargesListId":5622,"inquiringPatientId":774,"chargesListStatus":3,"patientId":147219259785217,"name":"水红叶","gender":"女","age":32,"patientImAccount":"user_hospital_147219259785217","updateTime":"2021-04-02 18:12:49","imTeamId":null,"workId":null,"workName":null,"createTime":"2021-04-02 15:12:39","lastSendTime":1617358368624,"imRecordHbaseDTO":{"contentsType":"custom","imTeamId":null,"chargesListId":5622,"fromAccountId":"doctor_462","fromUserId":"462","toAccountId":"user_hospital_147219259785217","toUserId":"147219259785217","doctorId":462,"patientId":147219259785217,"inquiringPatientId":774,"convType":0,"msgType":100,"content":null,"msgTimeStamp":1617358368624,"msgIdClient":"1103201016041605#demo_858106843128397960","msgIdServer":"858106843128397960","createTime":1617358369000,"sourceFileUrl":null,"sourceFileExt":null,"ext":"{\"inquiringPatientId\":774,\"chargesListId\":5622,\"patientId\":147219259785217,\"doctorId\":462,\"extType\":\"charges\"}","attach":"{\"customExts\":[{\"status\":\"3\"},{\"endTime\":\"1617358368000\"},{\"content\":\"您的感谢和评价是对我最大的认可\"},{\"chargesListId\":\"5622\"}],\"customEvent\":\"to_evaluate\",\"type\":\"custom\"}","fileUrl":null,"customEvent":"to_evaluate","customExt":"[{\"status\":\"3\"},{\"endTime\":\"1617358368000\"},{\"content\":\"您的感谢和评价是对我最大的认可\"},{\"chargesListId\":\"5622\"}]","fileName":null,"del":false}}]
     */

    private int code;
    private boolean result;
    private String msg;
    /**
     * chargesListId : 16846
     * inquiringPatientId : 848
     * chargesListStatus : 3
     * patientId : 152688606445569
     * name : 小小小小鸟
     * gender : 女
     * age : 28
     * patientImAccount : user_hospital_152688606445569
     * updateTime : 2021-12-23 01:30:02
     * imTeamId : null
     * workId : null
     * workName : null
     * createTime : 2021-12-22 14:44:46
     * lastSendTime : 1640194202369
     * imRecordHbaseDTO : {"contentsType":"custom","imTeamId":null,"chargesListId":16846,"fromAccountId":"doctor_462","fromUserId":"462","toAccountId":"user_hospital_152688606445569","toUserId":"152688606445569","doctorId":462,"patientId":152688606445569,"inquiringPatientId":848,"convType":0,"msgType":100,"content":null,"msgTimeStamp":1640194202369,"msgIdClient":"yljk-demo#yilijk-t1_956186002265738644","msgIdServer":"956186002265738644","createTime":1640194202401,"sourceFileUrl":null,"sourceFileExt":null,"ext":"{\"inquiringPatientId\":848,\"chargesListId\":16846,\"patientId\":152688606445569,\"doctorId\":462,\"extType\":\"charges\"}","attach":"{\"customExts\":[{\"status\":\"3\"},{\"endTime\":\"1640194202000\"},{\"content\":\"您好，请您对我的问诊服务做出评价\"},{\"chargesListId\":\"16846\"}],\"customEvent\":\"to_evaluate\",\"type\":\"custom\"}","fileUrl":null,"customEvent":"to_evaluate","customExt":"[{\"status\":\"3\"},{\"endTime\":\"1640194202000\"},{\"content\":\"您好，请您对我的问诊服务做出评价\"},{\"chargesListId\":\"16846\"}]","fileName":null,"del":false}
     */

    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private int chargesListId;
        private int inquiringPatientId;
        private int chargesListStatus;
        private long patientId;
        private String name;
        private String gender;
        private int age;
        private String patientAgeStr;
        private String patientImAccount;
        private String updateTime;
        private String imTeamId;
        private String workId;
        private String workName;
        private String createTime;
        private long lastSendTime;
        /**
         * contentsType : custom
         * imTeamId : null
         * chargesListId : 16846
         * fromAccountId : doctor_462
         * fromUserId : 462
         * toAccountId : user_hospital_152688606445569
         * toUserId : 152688606445569
         * doctorId : 462
         * patientId : 152688606445569
         * inquiringPatientId : 848
         * convType : 0
         * msgType : 100
         * content : null
         * msgTimeStamp : 1640194202369
         * msgIdClient : yljk-demo#yilijk-t1_956186002265738644
         * msgIdServer : 956186002265738644
         * createTime : 1640194202401
         * sourceFileUrl : null
         * sourceFileExt : null
         * ext : {"inquiringPatientId":848,"chargesListId":16846,"patientId":152688606445569,"doctorId":462,"extType":"charges"}
         * attach : {"customExts":[{"status":"3"},{"endTime":"1640194202000"},{"content":"您好，请您对我的问诊服务做出评价"},{"chargesListId":"16846"}],"customEvent":"to_evaluate","type":"custom"}
         * fileUrl : null
         * customEvent : to_evaluate
         * customExt : [{"status":"3"},{"endTime":"1640194202000"},{"content":"您好，请您对我的问诊服务做出评价"},{"chargesListId":"16846"}]
         * fileName : null
         * del : false
         */

        private ImRecordHbaseDTOBean imRecordHbaseDTO;

        private boolean haveRead;
        private int unReadMessageNumber;

        public boolean isHaveRead() {
            return haveRead;
        }

        public void setHaveRead(boolean haveRead) {
            this.haveRead = haveRead;
        }

        public int getUnReadMessageNumber() {
            return unReadMessageNumber;
        }

        public void setUnReadMessageNumber(int unReadMessageNumber) {
            this.unReadMessageNumber = unReadMessageNumber;
        }

        public int getChargesListId() {
            return chargesListId;
        }

        public void setChargesListId(int chargesListId) {
            this.chargesListId = chargesListId;
        }

        public int getInquiringPatientId() {
            return inquiringPatientId;
        }

        public void setInquiringPatientId(int inquiringPatientId) {
            this.inquiringPatientId = inquiringPatientId;
        }

        public int getChargesListStatus() {
            return chargesListStatus;
        }

        public void setChargesListStatus(int chargesListStatus) {
            this.chargesListStatus = chargesListStatus;
        }

        public long getPatientId() {
            return patientId;
        }

        public void setPatientId(long patientId) {
            this.patientId = patientId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public String getPatientAgeStr() {
            return patientAgeStr;
        }

        public void setPatientAgeStr(String patientAgeStr) {
            this.patientAgeStr = patientAgeStr;
        }

        public String getPatientImAccount() {
            return patientImAccount;
        }

        public void setPatientImAccount(String patientImAccount) {
            this.patientImAccount = patientImAccount;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getImTeamId() {
            return imTeamId;
        }

        public void setImTeamId(String imTeamId) {
            this.imTeamId = imTeamId;
        }

        public String getWorkId() {
            return workId;
        }

        public void setWorkId(String workId) {
            this.workId = workId;
        }

        public String getWorkName() {
            return workName;
        }

        public void setWorkName(String workName) {
            this.workName = workName;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public long getLastSendTime() {
            return lastSendTime;
        }

        public void setLastSendTime(long lastSendTime) {
            this.lastSendTime = lastSendTime;
        }

        public ImRecordHbaseDTOBean getImRecordHbaseDTO() {
            return imRecordHbaseDTO;
        }

        public void setImRecordHbaseDTO(ImRecordHbaseDTOBean imRecordHbaseDTO) {
            this.imRecordHbaseDTO = imRecordHbaseDTO;
        }

        public static class ImRecordHbaseDTOBean {
            private String contentsType;
            private String imTeamId;
            private int chargesListId;
            private String fromAccountId;
            private String fromUserId;
            private String toAccountId;
            private String toUserId;
            private int doctorId;
            private long patientId;
            private int inquiringPatientId;
            private int convType;
            private int msgType;
            private String content;
            private long msgTimeStamp;
            private String msgIdClient;
            private String msgIdServer;
            private long createTime;
            private String sourceFileUrl;
            private String sourceFileExt;
            private String ext;
            private String attach;
            private String fileUrl;
            private String customEvent;
            private String customExt;
            private String fileName;
            private boolean del;

            public String getContentsType() {
                return contentsType;
            }

            public void setContentsType(String contentsType) {
                this.contentsType = contentsType;
            }

            public String getImTeamId() {
                return imTeamId;
            }

            public void setImTeamId(String imTeamId) {
                this.imTeamId = imTeamId;
            }

            public int getChargesListId() {
                return chargesListId;
            }

            public void setChargesListId(int chargesListId) {
                this.chargesListId = chargesListId;
            }

            public String getFromAccountId() {
                return fromAccountId;
            }

            public void setFromAccountId(String fromAccountId) {
                this.fromAccountId = fromAccountId;
            }

            public String getFromUserId() {
                return fromUserId;
            }

            public void setFromUserId(String fromUserId) {
                this.fromUserId = fromUserId;
            }

            public String getToAccountId() {
                return toAccountId;
            }

            public void setToAccountId(String toAccountId) {
                this.toAccountId = toAccountId;
            }

            public String getToUserId() {
                return toUserId;
            }

            public void setToUserId(String toUserId) {
                this.toUserId = toUserId;
            }

            public int getDoctorId() {
                return doctorId;
            }

            public void setDoctorId(int doctorId) {
                this.doctorId = doctorId;
            }

            public long getPatientId() {
                return patientId;
            }

            public void setPatientId(long patientId) {
                this.patientId = patientId;
            }

            public int getInquiringPatientId() {
                return inquiringPatientId;
            }

            public void setInquiringPatientId(int inquiringPatientId) {
                this.inquiringPatientId = inquiringPatientId;
            }

            public int getConvType() {
                return convType;
            }

            public void setConvType(int convType) {
                this.convType = convType;
            }

            public int getMsgType() {
                return msgType;
            }

            public void setMsgType(int msgType) {
                this.msgType = msgType;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public long getMsgTimeStamp() {
                return msgTimeStamp;
            }

            public void setMsgTimeStamp(long msgTimeStamp) {
                this.msgTimeStamp = msgTimeStamp;
            }

            public String getMsgIdClient() {
                return msgIdClient;
            }

            public void setMsgIdClient(String msgIdClient) {
                this.msgIdClient = msgIdClient;
            }

            public String getMsgIdServer() {
                return msgIdServer;
            }

            public void setMsgIdServer(String msgIdServer) {
                this.msgIdServer = msgIdServer;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getSourceFileUrl() {
                return sourceFileUrl;
            }

            public void setSourceFileUrl(String sourceFileUrl) {
                this.sourceFileUrl = sourceFileUrl;
            }

            public String getSourceFileExt() {
                return sourceFileExt;
            }

            public void setSourceFileExt(String sourceFileExt) {
                this.sourceFileExt = sourceFileExt;
            }

            public String getExt() {
                return ext;
            }

            public void setExt(String ext) {
                this.ext = ext;
            }

            public String getAttach() {
                return attach;
            }

            public void setAttach(String attach) {
                this.attach = attach;
            }

            public String getFileUrl() {
                return fileUrl;
            }

            public void setFileUrl(String fileUrl) {
                this.fileUrl = fileUrl;
            }

            public String getCustomEvent() {
                return customEvent;
            }

            public void setCustomEvent(String customEvent) {
                this.customEvent = customEvent;
            }

            public String getCustomExt() {
                return customExt;
            }

            public void setCustomExt(String customExt) {
                this.customExt = customExt;
            }

            public String getFileName() {
                return fileName;
            }

            public void setFileName(String fileName) {
                this.fileName = fileName;
            }

            public boolean isDel() {
                return del;
            }

            public void setDel(boolean del) {
                this.del = del;
            }
        }
    }
}
